/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package vn.com.pps.dao;

import java.util.List;
import vn.com.pps.entities.Teacher;

/**
 *
 * @author Dai
 */
public interface ITeacherDAO {
    public int insert(Teacher teacher);
    public int update(Teacher teacher);
    public int delete(int id);
    public Page<Teacher> getTeachers(int pageNo, int pageSize, String whereClause);
    public int getCount(String whereClause);
    public Teacher getPupilEvent(Integer id);
    public Teacher getTeacher(Integer id);
    public List<Teacher> getTeachers();
}
